package com.seraph.emailgetter;

import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

public class MessageView extends Activity {
	
	private static String body;
	private static Bitmap pic;
	
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        setContentView(R.layout.main);
        
        TextView tv = (TextView)findViewById(R.id.textView1);
        ImageView iv = (ImageView)findViewById(R.id.imageView1);
        
        tv.setText(body);
        iv.setImageBitmap(pic);
	}
	
	public static void setMessage(String s, Bitmap b)
	{
		body = s;
		pic = b;
	}
}
